package jjn.weekly;

import java.util.HashSet;
import java.util.Set;

/**
 * @author Jiang Jining
 * @since 2023-06-04 11:29
 */
public class LeetCode6462 {
    public int minimizedStringLength(String s) {
        Set<Character> set = new HashSet<>();
        for (Character c : s.toCharArray()) {
            set.add(c);
        }
        return set.size();
    }
}
